
public class test6 {
	public static void main(String[] args)
	{
	int a = 1;
	int n = 5;
	while(a<=n)
	{
		int i = 5;
		while(i>=a){
			System.out.print(a);
			i--;
		}
		a++;
		System.out.println();
		
	}
	
}
}